package com.hxci.liminshuo.servcie;

import com.hxci.liminshuo.dao.MinShuoCourseMapper;
import com.hxci.liminshuo.pojo.MinShuoCourse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MinShuoCorseService {
    List<MinShuoCourse> query();
    List<MinShuoCourse> queryByCondition(String keyword);
    List<MinShuoCourse> queryByPage(int pageNum, int pageSize);

    int deleteById(Integer id);
    int insert(MinShuoCourse course);
    MinShuoCourse selectById(Integer id);
    int update(MinShuoCourse course);
    int batchDelete(List<Integer> ids);



}

